Wpe_Content_Engine\Helper\Search\Search A

Total Complexity 73
Dependencies 10
Dependents 1
Total lines 552
Lines of code 351
Logical lines of code 160
Comment lines 99
Methods 20
Properties 3

Methods 20

Method Rating Maintainability Complexity Lines of code
get_ce_posts()
A
38 12 68
get_search_fields()
A
46 10 41
extract_order_by()
S
49 7 30
search_content_engine()
S
41 4 65
format_hits_as_posts()
S
54 5 19
generate_filters()
S
53 4 25
format_hits_as_ids()
S
58 4 15
get_semantic_search_config()
S
59 3 15
found_posts()
S
70 3 6
is_admin_search_request()
S
78 3 3
format_hits_as_id_parents()
S
61 2 13
add_debug_message()
S
63 2 12
get_offset()
S
77 2 3
get_excluded_posts_filter()
S
68 2 7
get_id_prefix_filter()
S
68 2 7
get_post_types_filter()
S
66 2 8
extract_post_types()
S
78 2 3
is_html_search()
S
79 2 3
is_graphql_request()
S
79 1 3
__construct()
S
74 1 5